package com.seeyon.apps.kk.listener;

import org.springframework.jdbc.core.JdbcTemplate;

import com.seeyon.apps.collaboration.manager.ColManager;
import com.seeyon.ctp.common.ctpenumnew.manager.EnumManager;
import com.seeyon.ctp.common.template.manager.TemplateManager;
import com.seeyon.ctp.form.modules.engin.base.formData.FormDataManager;
import com.seeyon.ctp.form.service.FormManager;
import com.seeyon.kk.modules.ibatis.IbatisQueryDao;

/**
 * 中联运通基础监听类，主要将监控过程使用的业务类注入
 * 
 * @author jerry
 * 
 */
public abstract class BaseListener {
	public static int LISTENER_THREAD_SLEEPTIME = 2000; //监听器休眠滞后发生代码逻辑的时长
	protected ColManager colManager;
	protected JdbcTemplate jdbcTemplate;
	protected TemplateManager templateManager;
	protected EnumManager enumManagerNew;
	protected IbatisQueryDao ibatisQueryDao;
	protected FormManager formManager; 
	protected FormDataManager formDataManager; 
	protected String templateCode;
	 
	public String getTemplateCode() {
		return templateCode;
	}



	public void setTemplateCode(String templateCode) {
		this.templateCode = templateCode;
	}

	public FormManager getFormManager() {
		return formManager;
	}

	public void setFormManager(FormManager formManager) {
		this.formManager = formManager;
	}

	public void setColManager(ColManager colManager) {
		this.colManager = colManager;
	}

	public JdbcTemplate getJdbcTemplate() {
		return jdbcTemplate;
	}

	public void setJdbcTemplate(JdbcTemplate jdbcTemplate) {
		this.jdbcTemplate = jdbcTemplate;
	}

	public void setTemplateManager(TemplateManager templateManager) {
		this.templateManager = templateManager;
	}

	public ColManager getColManager() {
		return colManager;
	}

	public TemplateManager getTemplateManager() {
		return templateManager;
	}

	public EnumManager getEnumManagerNew() {
		return enumManagerNew;
	}

	public void setEnumManagerNew(EnumManager enumManagerNew) {
		this.enumManagerNew = enumManagerNew;
	}

	public IbatisQueryDao getIbatisQueryDao() {
		return ibatisQueryDao;
	}

	public void setIbatisQueryDao(IbatisQueryDao ibatisQueryDao) {
		this.ibatisQueryDao = ibatisQueryDao;
	}
    
}
